package com.neusoft.Shixun.service;

import com.neusoft.Shixun.po.ResponseBean;
import com.neusoft.Shixun.po.User;
import java.util.List;

public interface UserService {
    ResponseBean<List<User>> getAllUsers();
    ResponseBean<User> getUserById(Integer userId);
    ResponseBean<User> getUserByName(String userName);
    ResponseBean<Integer> addUser(User user);
    ResponseBean<Integer> updateUser(User user);
    ResponseBean<Integer> deleteUser(Integer userId);
    ResponseBean<User> login(String username, String password);
    ResponseBean<List<User>> getUserByCareTakerName(String careTakerName);
}